<?php

declare(strict_types=1);

namespace Upside\Http;

final class RequestFactory
{
    public static function from_globals(): Request
    {
        return new Request($_GET, $_POST, $_COOKIE, $_FILES, $_SERVER);
    }
}
